﻿using System;
using System.Collections.Generic;
using System.Linq.Expressions;

namespace FluentExport.CSVExport.Interfaces
{
    public interface ICSVCompoundSource<TSource> : ICSVSource
    {
        ICollection<ICSVSimpleSource> Sources { get; set; }

        ICSVCompoundSource<TSource> Add(Expression<Func<TSource, object>> source);

        ICSVExport WithFormat(string format);
    }
}
